import { actionTypes } from './actionTypes';

export function setUserAuth(payload) {
	return {
		type: actionTypes.SET_USER_AUTH,
		payload,
	}
}

export function logout () {
	return {
		type: actionTypes.LOGOUT,
	}
}

export function logoutSucc () {
	return {
		type: actionTypes.LOGOUT_SUCC,
	}
}

export function logoutFail () {
	return {
		type: actionTypes.LOGOUT_FAIL,
	}
}